/**
 * MusicCommentDaoImp.java
 *
 *
 * $LastChangedBy:  $
 * $LastChangedDate:  $
 * $Revision:  $
 */
package com.myspace.dao.hibernate;

import java.util.List;

import com.myspace.dao.MusicCommentDao;
import com.myspace.domain.MusicComment;

public class MusicCommentDaoImp extends GenericDaoImp<MusicComment, Long>
		implements MusicCommentDao {

	@SuppressWarnings("unchecked")
	public List<MusicComment> findCommentsList(Long musicId) {
		return (List<MusicComment>) getHibernateTemplate().find(
				"from MusicComment where musicId=?", musicId);
	}

}
